package com.love.marriage.TecentIm.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * WuKongIM 消息 VO
 * 用于封装消息信息
 */
@Data
@Schema(description = "WuKongIM 消息信息")
public class WuKongImMessageVo {

    @Schema(description = "消息 ID", type = "Long")
    private Long messageId;

    @Schema(description = "消息序号", type = "Long")
    private Long messageSeq;

    @Schema(description = "客户端消息编号", type = "String")
    private String clientMsgNo;

    @Schema(description = "发送者用户 ID", type = "String")
    private String fromUid;

    @Schema(description = "接收者用户 ID", type = "String")
    private String toUid;

    @Schema(description = "频道 ID", type = "String")
    private String channelId;

    @Schema(description = "频道类型（1: 个人频道，2: 群组频道）", type = "Integer")
    private Integer channelType;

    @Schema(description = "消息内容（Base64 编码）", type = "String")
    private String payload;

    @Schema(description = "消息创建时间戳", type = "Long")
    private Long timestamp;

    @Schema(description = "消息状态", type = "Integer")
    private Integer status;
}

